github.com/klauspost/compress/zstd/internal/xxhash.Digest.n (field)
12 uses
github.com/klauspost/compress/zstd/internal/xxhash (current package)
xxhash.go#L35: n int // how much of mem is used
xxhash.go#L52: d.n = 0
xxhash.go#L66: memleft := d.mem[d.n&(len(d.mem)-1):]
xxhash.go#L68: if d.n+n < 32 {
xxhash.go#L71: d.n += n
xxhash.go#L75: if d.n > 0 {
xxhash.go#L83: d.n = 0
xxhash.go#L94: d.n = len(b)
xxhash.go#L132: b := d.mem[:d.n&(len(d.mem)-1)]
xxhash.go#L171: b = append(b, d.mem[:d.n]...)
xxhash.go#L172: b = b[:len(b)+len(d.mem)-d.n]
xxhash.go#L191: d.n = int(d.total % uint64(len(d.mem)))
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |